package com.utils2;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;

/**
 * @author LWY
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class All {
    String name;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    Date date;
    int total;
    ArrayList<Province> provinceArrayList;
    ChinaAdd chinaAdd;
    ChinaTotal chinaTotal;
    public void setProvince(ArrayList<Province> provinceArrayList) {
        this.provinceArrayList = provinceArrayList;
    }
}
